package com.sofwin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sofwin.mapper.StatusMappper;
import com.sofwin.pojo.Status;
import com.sofwin.service.StatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StatusServiceImpl extends ServiceImpl<StatusMappper, Status> implements StatusService {
    @Autowired
    private StatusMappper statusMappper;
    @Override
    public boolean updateById(Status status) {
        return true;
    }

    @Override
    public List<Status> getStatusList(Status status) {
        return statusMappper.getStatusList(status);
    }
}
